package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老师信息对象 teacher
 * 
 * @author ruoyi
 * @date 2024-03-08
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 老师ID */
    private Long id;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String teacharName;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 学科 */
    @Excel(name = "学科")
    private String discipline;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacharName(String teacharName) 
    {
        this.teacharName = teacharName;
    }

    public String getTeacharName() 
    {
        return teacharName;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDiscipline(String discipline) 
    {
        this.discipline = discipline;
    }

    public String getDiscipline() 
    {
        return discipline;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacharName", getTeacharName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("title", getTitle())
            .append("discipline", getDiscipline())
            .append("contactInfo", getContactInfo())
            .toString();
    }
}
